 package models;

import javax.persistence.CascadeType;
import javax.persistence.OneToOne;
import java.util.*;
import javax.persistence.*;
import play.db.jpa.*;
@Entity
public class RequestFollower extends Model {
 @OneToOne(cascade = CascadeType.ALL)
 public User sender;
 @OneToOne(cascade = CascadeType.ALL)
 public User reciver;
 public String request;
 public long depId;
 public long orgId;

 
 public RequestFollower(User sender,User reciver,String request,long depId,long orgId) {
  this.sender = sender;
  this.reciver = sender;
  this.request = request;
  this.depId=depId;
  this.depId=depId;
  this.orgId=orgId;
  
 }

}
